package handler

var (
	ErrorCode_LoginFailed                 = "LoginFailed"
	ErrorCode_IdempotentParameterMismatch = "IdempotentParameterMismatch"
	ErrorCode_IllegalTimestamp            = "IllegalTimestamp"
	ErrorCode_IncompleteSignature         = "IncompleteSignature"
	ErrorCode_InsufficientBalance         = "InsufficientBalance"
	ErrorCode_InvalidAccessKeyId          = "InvalidAccessKeyIdNotFound"
	ErrorCode_InvalidOwner                = "InvalidOwner"
	ErrorCode_InvalidParamater            = "InvalidParamater"
	ErrorCode_MissingParameter            = "MissingParameter"
	ErrorCode_SignatureNonceUsed          = "SignatureNonceUsed"
	ErrorCode_Throttling                  = "Throttling"
	ErrorCode_UnsupportedParameter        = "UnsupportedParameter"
	ErrorCode_UnknownError                = "UnknownError"
	ErrorCode_AccessKeyDisabled           = "Forbidden.AccessKeyDisabled"
	ErrorCode_ForbiddenSubUser            = "Forbidden.SubUser"
	ErrorCode_ForbiddenUnauthorized       = "Forbidden.Unauthorized"
	ErrorCode_InvalidAccountNotFound      = "InvalidAccount.NotFound"
	ErrorCode_InvalidAction               = "InvalidAction"
	ErrorCode_InvalidAppCode              = "InvalidAppCode"
	ErrorCode_LastTokenProcessing         = "LastTokenProcessing"
	ErrorCode_InternalErr                 = "InternalError"
	ErrorCode_ServiceUnavailab            = "ServiceUnavailable"

	ErrorResp_ConnectDBFailed = &Response{
		HttpCode: 400,
		Code:     ErrorCode_InternalErr,
		Message:  "Connect DB Failed",
	}

	ErrorResp_InvalidUser = &Response{
		HttpCode: 400,
		Code:     ErrorCode_InvalidParamater,
		Message:  "User Not Exist",
	}
	ErrorResp_ServiceUnavailab = &Response{
		HttpCode: 503,
		Code:     ErrorCode_ServiceUnavailab,
		Message:  "Service Unavailable",
	}
)
